package com.sservice.model.entity;


import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
public class Commission implements Serializable {

    private static final long serialVersionUID = 1044143881987041856L;
    /**
     * 佣金ID
     */
    private Integer id;
    /**
     * 佣金业务代码
     */
    private String no;

    private Integer sysId;
    private Integer type1;//佣金类型
    /**
     * 销售ID
     */
    private String saleId;
    /**
     * 销售昵称
     */
    private String saleName;
    /**
     * 提成比例
     */
    private BigDecimal percent;
    /**
     * 提成佣金
     */
    private BigDecimal commission;
    /**
     * 订单总额
     */
    private BigDecimal total;
    /**
     * 订单编号
     */
    private String orderId;
    /**
     * 销售员姓名或昵称
     */
    private String saler;
    /**
     * 佣金状态:0发放中，1入账，2退款
     */
    private String status;
    private Timestamp createAt;


}